package com.warmlight.voicepacket.data;

import java.io.Serializable;
import java.util.List;

public class PlaydeatalData {

    /**
     * code : 200
     * msg : Suc.
     * data : {"cover_info":{"id":"1","category_id":"1","name":"李云龙","pic":"http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg","status":"1","updatetime":"2018-05-23 14:55:55"},"list":[{"id":"1","title":"李云龙1","url":"https://warmlight-audio.oss-cn-shanghai.aliyuncs.com/audio/201805/24/e9a04f06025c7350e4d4d3ac93dbf180.mp3","duration":"10","star":"0","share":"0","collect":"0","cover_id":"1"}],"share":{"title":"i am title","desc":"i am desc","pic_url":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1527595012355&di=ac7d2bec0693337b1461ca5c7fd264a5&imgtype=0&src=http%3A%2F%2Fd.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2F63d0f703918fa0ec53d199aa2a9759ee3d6ddb07.jpg","h5_url":"https://m.baidu.com/"}}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * cover_info : {"id":"1","category_id":"1","name":"李云龙","pic":"http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg","status":"1","updatetime":"2018-05-23 14:55:55"}
         * list : [{"id":"1","title":"李云龙1","url":"https://warmlight-audio.oss-cn-shanghai.aliyuncs.com/audio/201805/24/e9a04f06025c7350e4d4d3ac93dbf180.mp3","duration":"10","star":"0","share":"0","collect":"0","cover_id":"1"}]
         * share : {"title":"i am title","desc":"i am desc","pic_url":"https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1527595012355&di=ac7d2bec0693337b1461ca5c7fd264a5&imgtype=0&src=http%3A%2F%2Fd.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2F63d0f703918fa0ec53d199aa2a9759ee3d6ddb07.jpg","h5_url":"https://m.baidu.com/"}
         */

        private CoverInfoBean cover_info;
        private CoverInfoBean info;
        private ShareBean share;
        private List<ListBean> list;

        public CoverInfoBean getInfo() {
            return info;
        }

        public void setInfo(CoverInfoBean info) {
            this.info = info;
        }

        public CoverInfoBean getCover_info() {
            return cover_info;
        }

        public void setCover_info(CoverInfoBean cover_info) {
            this.cover_info = cover_info;
        }

        public ShareBean getShare() {
            return share;
        }

        public void setShare(ShareBean share) {
            this.share = share;
        }

        public List<ListBean> getList() {
            return list;
        }

        public void setList(List<ListBean> list) {
            this.list = list;
        }

        public static class CoverInfoBean {
            /**
             * id : 1
             * category_id : 1
             * name : 李云龙
             * pic : http://pic13.nipic.com/20110302/3156824_081208358000_2.jpg
             * status : 1
             * updatetime : 2018-05-23 14:55:55
             */

            private String id;
            private String category_id;
            private String name;
            private String pic;
            private String status;
            private String updatetime;


            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getCategory_id() {
                return category_id;
            }

            public void setCategory_id(String category_id) {
                this.category_id = category_id;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getUpdatetime() {
                return updatetime;
            }

            public void setUpdatetime(String updatetime) {
                this.updatetime = updatetime;
            }
        }

        public static class ShareBean {
            /**
             * title : i am title
             * desc : i am desc
             * pic_url : https://timgsa.baidu.com/timg?image&quality=80&size=b9999_10000&sec=1527595012355&di=ac7d2bec0693337b1461ca5c7fd264a5&imgtype=0&src=http%3A%2F%2Fd.hiphotos.baidu.com%2Fimage%2Fpic%2Fitem%2F63d0f703918fa0ec53d199aa2a9759ee3d6ddb07.jpg
             * h5_url : https://m.baidu.com/
             */

            private String title;
            private String desc;
            private String pic_url;
            private String h5_url;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getDesc() {
                return desc;
            }

            public void setDesc(String desc) {
                this.desc = desc;
            }

            public String getPic_url() {
                return pic_url;
            }

            public void setPic_url(String pic_url) {
                this.pic_url = pic_url;
            }

            public String getH5_url() {
                return h5_url;
            }

            public void setH5_url(String h5_url) {
                this.h5_url = h5_url;
            }
        }

        public static class ListBean implements Serializable {
            /**
             * id : 1
             * title : 李云龙1
             * url : https://warmlight-audio.oss-cn-shanghai.aliyuncs.com/audio/201805/24/e9a04f06025c7350e4d4d3ac93dbf180.mp3
             * duration : 10
             * star : 0
             * share : 0
             * collect : 0
             * cover_id : 1
             */

            private String id;
            private String title;
            private String url;
            private String duration;
            private String star;
            private String share;
            private String collect;
            private String cover_id;
            private String pic;

            //是否正在播放
            private boolean isCheak;
            //是否停止播放
            private boolean isPause;
            //后添加字段，主要是在我的播单页面，需要数据库中的播单名称，这里做转换
            private String cover_name;
            private String category_id;
            //item管理，0 不显示 1 未选中 2 选中
            private int isSelect = 0;
            private String type = "1";
            private String status = "1";
            /**
             * is_collect : true
             */

            private boolean is_collect;
            //公开或者私密
            private String is_open;

            public String getIs_open() {
                return is_open;
            }

            public void setIs_open(String is_open) {
                this.is_open = is_open;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public int getIsSelect() {
                return isSelect;
            }

            public void setIsSelect(int isSelect) {
                this.isSelect = isSelect;
            }

            public boolean isPause() {
                return isPause;
            }

            public void setPause(boolean pause) {
                isPause = pause;
            }

            public String getCategory_id() {
                return category_id;
            }

            public void setCategory_id(String category_id) {
                this.category_id = category_id;
            }

            public String getCover_name() {
                return cover_name;
            }

            public void setCover_name(String cover_name) {
                this.cover_name = cover_name;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }


            public boolean isCheak() {
                return isCheak;
            }

            public void setCheak(boolean cheak) {
                isCheak = cheak;
            }


            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public String getDuration() {
                return duration;
            }

            public void setDuration(String duration) {
                this.duration = duration;
            }

            public String getStar() {
                return star;
            }

            public void setStar(String star) {
                this.star = star;
            }

            public String getShare() {
                return share;
            }

            public void setShare(String share) {
                this.share = share;
            }

            public String getCollect() {
                return collect;
            }

            public void setCollect(String collect) {
                this.collect = collect;
            }

            public String getCover_id() {
                return cover_id;
            }

            public void setCover_id(String cover_id) {
                this.cover_id = cover_id;
            }

            public boolean isIs_collect() {
                return is_collect;
            }

            public void setIs_collect(boolean is_collect) {
                this.is_collect = is_collect;
            }
        }
    }
}
